<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
          integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">

    <!-- Option 1: Bootstrap Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"
            integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW"
            crossorigin="anonymous"></script>

    <link href="css/main.css" rel="stylesheet">



    <title>奶茶店后台</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow-sm">
    <div class="container-fluid">
        <a class="navbar-brand" href="/main.html">奶茶店后台</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
                aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a class="nav-link" href="/order.html">订单管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link active" aria-current="page" href="/users.html">用户管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/product.html">商品管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/productSort.html">商品分类管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/activity.html">活动管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/userInfo.html">个人中心</a>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="d-flex flex-column justify-content-center align-items-center">

    <div class="alert alert-danger position-absolute w-25 text-center" role="alert" id="alert" style="top: 100px; z-index: 1055;" hidden>
    </div>

    <div class="title-holder w-75 mt-lg-3 mb-lg-4 p-lg-5">
        <h1>用户详情</h1>
    </div>

<!--    <div class="d-flex flex-row align-items-baseline">-->
<!--        <div class="d-flex flex-row align-items-baseline">-->
<!--            <select class="form-select mb-lg-3 me-3" aria-label="Default select example" id="selector">-->
<!--                <option value="1">批量完成</option>-->
<!--                <option value="2">批量取消</option>-->
<!--            </select>-->
<!--            <button type="button" class="btn btn-outline-primary w-100" onclick="orderOpera()">确认</button>-->
<!--        </div>-->
<!--    </div>-->


    <table class="table table-striped w-75">
        <thead>
        <tr>
            <th scope="col">#</th>
            <th scope="col">用户Id</th>
            <th scope="col">用户名</th>
            <th scope="col">用户账号</th>
            <th scope="col">用户身份</th>
            <th scope="col">用户状态</th>
            <th scope="col">用户操作</th>
        </tr>
        </thead>
        <tbody  id="table-body">
        <tr>
            <th scope="row">1</th>
            <td>Mark</td>
            <td>Otto</td>
            <td>Otto</td>
            <td>Otto</td>
            <td>@mdo</td>
            <td>
                <button type="button" class="btn btn-primary me-3  pt-sm-1 pb-sm-1 w-2">启用</button>
                <button type="button" class="btn btn-danger  pt-sm-1 pb-sm-1 w-2">停用</button>
            </td>
        </tr>
        <tr>
            <th scope="row">2</th>
            <td>Jacob</td>
            <td>Thornton</td>
            <td>Thornton</td>
            <td>Thornton</td>
            <td>@fat</td>
            <td>
                <button type="button" class="btn btn-primary me-3  pt-sm-1 pb-sm-1 w-2">启用</button>
                <button type="button" class="btn btn-danger  pt-sm-1 pb-sm-1 w-2">停用</button>
            </td>
        </tr>
        <tr>
            <th scope="row">3</th>
            <td>Larry the Bird</td>
            <td>@twitter</td>
            <td>@twitter</td>
            <td>@twitter</td>
            <td>@twitter</td>
            <td>
                <button type="button" class="btn btn-primary me-3  pt-sm-1 pb-sm-1 w-2">启用</button>
                <button type="button" class="btn btn-danger  pt-sm-1 pb-sm-1 w-2">停用</button>
            </td>
        </tr>
        </tbody>
    </table>
</div>

<script src="js/general.js"></script>
<script src="js/user.js"></script>
<script>
    initUser();
</script>
</body>
</html>
